home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / capstest.readme < prev    next >
Text File  |  1996-09-26  |  1KB  |  34 lines

  1. Short:    Reports caps lock status, useful for scripts etc.
  2. Author:   lauri.aalto@fipnet.fi
  3. Uploader: lauri.aalto@fipnet.fi
  4. Type:     util/cli
  5.  
  6. I needed a simple program for my scripts which would examine the status of
  7. the caps lock key and report it so the script could act respectively. After
  8. a quick scan over my file base I was unable to find such a tool so I
  9. decided to write one of my own. Here's the result.
  10.  
  11. Usage:
  12.  
  13. if `capstest` eq 1        ; capstest returns either 0 or 1
  14.   echo "Caps lock was active"
  15. else
  16.   echo "Caps lock was inactice"
  17. endif
  18.  
  19. Source code compilable at least with DICE 3.0 has been included. Just type
  20. 'execute capstest.c' to compile. Feel free to do whatever with these files
  21. - they're all public domain.
  22.  
  23.  
  24. ============================= Archive contents =============================
  25.  
  26. Original  Packed Ratio    Date     Time    Name
  27. -------- ------- ----- --------- --------  -------------
  28.     1360     679 50.0% 02-Dec-94 20:34:40  capstest.c
  29.      730     427 41.5% 02-Dec-94 20:40:12  capstest.readme
  30.      472     355 24.7% 02-Dec-94 20:34:54  capstest
  31.       45      43  4.4% 02-Dec-94 20:41:54  file_id.diz
  32. -------- ------- ----- --------- --------
  33.     2607    1504 42.3% 02-Dec-94 21:22:20   4 files
  34.